package context;

import bean.PolicyDO;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author kerry dong
 */
public class PrototypeContext {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("prototype.xml");
		PolicyDO bean = context.getBean(PolicyDO.class);
		PolicyDO bean1 = context.getBean(PolicyDO.class);

	}
}
